package _08DeractorFactoryDesign;

public class FlyCarDeractor extends CarDecorator {
    public FlyCarDeractor(Car car) {
        super(car);
    }

    public void show() {
        this.getCar().show();
        this.fly();
    }
    public void fly(){
        System.out.println("新发明，这辆车可以飞哦！");
    }
}
